import React, {Component} from 'react';
import { Button, DatePicker} from 'antd';
import {WechatOutlined, WeiboOutlined} from "@ant-design/icons";

import Header from "./components/Header";

export default class App extends Component {

    onChange = (date, dateString) => {
        console.log(date, dateString);
    }

    render() {
        return (
            <div>
                <Header />
                <Button type="primary">我是Antd按钮</Button>
                <Button>按钮2</Button>
                <Button color="danger" variant="link">按钮3</Button>
                <WechatOutlined />
                <WeiboOutlined />
                <DatePicker onChange={this.onChange} />
            </div>
        );
    }
}
